<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>

<% 
	if ( totalPages == 1 )
	{
%>
	<div style="margin-left:10px;text-align: center;font-size: 9pt;">
		<b><%=totalElements%></b> öge listeleniyor.
	</div>
<%		
	}
	else if ( totalElements > 0 )
	{
%>
	<div style="margin-left:10px;font-size: 8pt;line-height: 20px;">
		<b><%=totalElements%></b> ögeden <b><%=start+1%></b> - <b><%= end %></b> arası gösteriliyor.
	</div>

	<div class="pagination">
		<ul>
	<%	if ( currentPage == 1 ) { %>
			<li><span class="disabled">&#171;</span></li>
	<% 	} else {%>
			<li><a href="javascript:previousPage();">&#171;</a></li>
	<% 	} %>	
	<%
		for ( int pageIx = 1 ; pageIx <= totalPages ; pageIx++ ) 
		{ 
			if ( pageIx == currentPage )
			{
	%>	
			<li><span class="current"><%=currentPage %></span></li>
	<%		
			}
			else
			{
	%>	
			<li><a href="javascript:pageNumLingPress(<%=pageIx %>);"><%=pageIx %></a></li>	
	<%			
			}
	%>
		
	<% 	} 
		if ( currentPage == totalPages ) { %>
			<li><span class="disabled">&#187;</span></li>
	<% 	} else {%>
			<li><a href="javascript:nextPage();">&#187;</a></li>
	<% 	} %>	
		</ul>
	</div>
<%	} %>

<input value="<%=currentPage%>" type="hidden" id="pageNum" name="pageNum" >
<input type="hidden" id="divId" name="divId" value="<%=divId%>"/>
<input type="hidden" id="pagePath" name="pagePath" value="<%=pagePath%>"/>
<input type="hidden" id="currentPage" name="currentPage" value="<%=currentPage%>"/>
<input type="hidden" id="pageParams" name="pageParams" value="<%=pageParams%>"/>
<input type="hidden" id="totalPages" name="totalPages" value="<%=totalPages%>"/>